package com.yx.entity;


public class Passengers {

  private Integer id;
  private String name;
  private String sex;
  private java.sql.Date birthday;
  
  private Passports passports;

  @Override
  public String toString() {
    return "Passengers{" +
            "id=" + id +
            ", name='" + name + '\'' +
            ", sex='" + sex + '\'' +
            ", birthday=" + birthday +
            ", passports=" + passports +
            '}';
  }

  public Passports getPassports() {
    return passports;
  }

  public void setPassports(Passports passports) {
    this.passports = passports;
  }

  public Integer getId() {
    return id;
  }

  public void setId(Integer id) {
    this.id = id;
  }


  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }


  public String getSex() {
    return sex;
  }

  public void setSex(String sex) {
    this.sex = sex;
  }


  public java.sql.Date getBirthday() {
    return birthday;
  }

  public void setBirthday(java.sql.Date birthday) {
    this.birthday = birthday;
  }

}
